


import java.util.Iterator;

public class tester {
	public static void main(String[] args) {
		RandomQueue<Integer> randQ = new RandomQueue<Integer>();

		randQ.enqueue(1);
		randQ.enqueue(2);
		randQ.enqueue(3);
		randQ.enqueue(4);
		randQ.enqueue(5);
		randQ.enqueue(6);
		randQ.enqueue(7);
		randQ.enqueue(8);
		randQ.enqueue(9);
		randQ.enqueue(10);
		
		Iterator<Integer> It = randQ.iterator();
		Iterator<Integer> It2 = randQ.iterator();
		
		while (It.hasNext()){
			System.out.println("IT1:");
			System.out.println(It.next());
			System.out.println("IT2:");
			System.out.println(It2.next());
		}
	}

}
